#if !defined DISABLERAWDLG_H
#define DISABLERAW_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "../client/Util.h"
#include "PropPage.h"

class FavHubDisableRawDlg : public CDialogImpl<FavHubDisableRawDlg>
{

public:
	enum { IDD = IDD_FAV_HUBS_DISABLE_RAWS };

	BEGIN_MSG_MAP(FavHubDisableRawDlg)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
		COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
		COMMAND_HANDLER(IDC_DISABLE_RAW_GPL_BREAKERS, BN_CLICKED, OnBnClickedDisableRawGplBreakers)
	END_MSG_MAP()

	FavHubDisableRawDlg() { };

	LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
	LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	LRESULT OnBnClickedDisableRaw(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
	LRESULT OnBnClickedDisableRawGplBreakers(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);

	string disableRawsDlg;
	CEdit myinfo, client, filelist, adls, multihub, faker, badConnection, badIsp, flooder, fakeShare, buggyClient;
};

#endif